package com.pl.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;

import java.io.Serializable;

/**
 * (Part)实体类
 *
 * @author makejava
 * @since 2024-04-30 15:17:53
 */
@ColumnWidth(value =30)
public class Part implements Serializable {
    private static final long serialVersionUID = -74490787616308038L;
    /**
     * 零件ID
     */
    @ExcelProperty(value = "零件ID")

    private Integer pid;
    /**
     * 零件名称
     */
    @ExcelProperty(value = "零件名称")
    private String pname;
    /**
     * 单价
     */
    @ExcelProperty(value = "单价")
    private Double oneprice;
    /**
     * 库存数量
     */
    @ExcelProperty(value = "库存数量")
    private Integer quantity;


    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public Double getOneprice() {
        return oneprice;
    }

    public void setOneprice(Double oneprice) {
        this.oneprice = oneprice;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

}

